package com.bupt.cosmfl.cosmflweb.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author fangtiewei
 * @Date 2021/7/28 12:04
 * @Description
 */
@Data
public class PageDTO {

    @NotNull(message = "pageNum不能为空")
    @JsonProperty("pageNum")
    private Integer pageNum;

    @NotNull(message = "pageSize不能为空")
    @JsonProperty("pageSize")
    private Integer pageSize;

    @JsonProperty("keyword")
    private String keyword;
}
